package com.pkq.foure;

import java.io.IOException;
import java.nio.charset.StandardCharsets;
import java.nio.file.Files;
import java.nio.file.Paths;
import java.util.List;

public class ReadF {
    public void rd(String path) {
        try {
            List<String> strings = Files.readAllLines(Paths.get(path), StandardCharsets.UTF_8);
            strings.forEach(System.out::println);
        } catch (IOException e) {
            e.printStackTrace();
        }
    }
}
